package com.reggie.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

//菜品管理实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dish extends BasePojo{
    private String name;//菜品名称
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long categoryId;//菜品分类id
    private Double price;//菜品价格
    private String code;//商品码
    private String image;//图片
    private String description;//描述信息
    private Integer status;//状态 0 停售 1 起售
    private Integer sort;//顺序
    private Integer isDeleted;//是否删除
}
